﻿using AutoMapper;
using YXChatApiService.Application.BuddyServices.Dtos;
using YXChatApiService.Core.BuddyEntity;

namespace YXChatApiService.Application.BuddyServices.Mapper
{
    public class BuddyAutoMapper:Profile
    {
        public BuddyAutoMapper()
        {
            CreateMap<Buddy, BuddyDto>();
            CreateMap<BuddyCreateOrUpdateInput, Buddy>();
        }
    }
}